{{useCss "/app-pages/css/goods_list.scss"}}
<div class="goods_list">
    {{#if $Cache.searche.isresult}}
        <p>正在查找</p>
    {{#else}} 
        {{#if $Cache.search.goods.length}}
        <div class="listtitle">
            查找相关“<b>{{$Cache.search_key}}</b>”的商品结果</p>
        </div>
        <div class="list">
            {{#each $Cache.search.goods}}
            <div class="listitem">
                <div class="goodsimg">
                    <href to="/goods_details.html?id={{_id}}">
                        <img bind-src="{{preview_img_url}}?imageView/1/w/250/h/250" />
                    </href>
                </div>
                <div class="box">
                    <div class="info">
                        <href class="name" to="/goods_details.html?id={{_id}}">
                            {{goods_name+" "}}
                        </href>
                    </div>
                    <div class="info">
                        <div class="price">￥{{#Fixed cash}}</div>
                    </div>
                </div>
            </div>
            {{/each}}
        </div>
        {{#else}}
        <div class="listtitle">
            找不到相关“<b>{{$Cache.search_key}}</b>”的商品
        </div>
        {{/if}} 
    {{/if}}
</div>
